include(CMakeFindDependencyMacro)

if("@QTE_QT_VERSION@" EQUAL 5)
  if(NOT Qt5_DIR)
    set(Qt5_DIR "@Qt5_DIR@")
  endif()
  set(QTE_REQUIRED_QT_COMPONENTS @Qt5_LINK_MODULES@)
  find_dependency(Qt5 COMPONENTS ${QTE_REQUIRED_QT_COMPONENTS})
endif()

# Import library targets
include(${CMAKE_CURRENT_LIST_DIR}/qtExtensionsConfigTargets.cmake)

set(QTE_QT_VERSION "@QTE_QT_VERSION@")

# Set use file
set(qtExtensions_USE_FILE ${CMAKE_CURRENT_LIST_DIR}/UseQtExtensions.cmake)

# Additional triggers for AUTOMOC
list(APPEND CMAKE_AUTOMOC_MACRO_NAMES QTE_BEGIN_META_NAMESPACE)
